import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant';
import 'vant/lib/index.css';
import axios from 'axios'
import VueAxios from 'vue-axios'
import global from "@/global";

//引入图标
import './assets/iconfont/iconfont.css'
require ('./assets/iconfont/iconfont.js')
Vue.use(VueAxios, axios);
Vue.use(Vant);

Vue.config.productionTip = false;
axios.defaults.withCredentials=true;
Vue.prototype.GLOBAL=global;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
